package com.analyst.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.PriorityQueue;

@Data
public class JobDTO implements Serializable {

    private String id;
    private String sqlString;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private long pendingTime;

    private List<String> dependencies=new ArrayList<>();

    private List<String> nextList=new ArrayList<>();

}
